package com.hundsun.cprs.yyt.service.goods.domain;

import java.util.Date;

import com.hundsun.cprs.yyt.common.base.DomainBase;

public class Goods extends DomainBase{
	
	private static final long serialVersionUID = 6844212527642218777L;

	private Integer id;

    private Integer classifyId;

    private String goodsName;

    private String goodsCode;

    private String attributeList;

    private Double goodsPrice;

    private Double costPrice;

    private Integer organizationId;

    private String organizationName;

    private String isDeleted;

    private String status;

    private Date publishTime;

    private String goodsDetail;

    private String tradeUnit = "1";//最小交易单位,默认为1

    private Double quotaRewardRate;//配额奖励比例

    private Double integralRewardRate;//积分奖励比例

    private Integer topShow;//是否爆款：0-不是爆款，1-是爆款
    
    private Integer quotaRewardAmount;

    private Integer quotaRewardPolicy;

    private Long rewardQuotaId;

    private Long payQuotaId;

    private Long retailLimit;//零售区购买限制（每人每日购买限制，为0不限制）
    private Long wholesaleLimit;//批发区购买限制（每人最多购买限制，为0不限制）

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(Integer classifyId) {
        this.classifyId = classifyId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode == null ? null : goodsCode.trim();
    }

    public String getAttributeList() {
        return attributeList;
    }

    public void setAttributeList(String attributeList) {
        this.attributeList = attributeList == null ? null : attributeList.trim();
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted == null ? null : isDeleted.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public String getGoodsDetail() {
        return goodsDetail;
    }

    public void setGoodsDetail(String goodsDetail) {
        this.goodsDetail = goodsDetail == null ? null : goodsDetail.trim();
    }

    public Double getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(Double costPrice) {
        this.costPrice = costPrice;
    }

    public Integer getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Integer organizationId) {
        this.organizationId = organizationId;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public String getTradeUnit() {
        return tradeUnit;
    }

    public void setTradeUnit(String tradeUnit) {
        this.tradeUnit = tradeUnit;
    }

    public Double getQuotaRewardRate() {
        return quotaRewardRate;
    }

    public void setQuotaRewardRate(Double quotaRewardRate) {
        this.quotaRewardRate = quotaRewardRate;
    }

    public Double getIntegralRewardRate() {
        return integralRewardRate;
    }

    public void setIntegralRewardRate(Double integralRewardRate) {
        this.integralRewardRate = integralRewardRate;
    }

    public Integer getTopShow() {
        return topShow;
    }

    public void setTopShow(Integer topShow) {
        this.topShow = topShow;
    }

	public Integer getQuotaRewardAmount() {
		return quotaRewardAmount;
	}

	public void setQuotaRewardAmount(Integer quotaRewardAmount) {
		this.quotaRewardAmount = quotaRewardAmount;
	}

	public Integer getQuotaRewardPolicy() {
		return quotaRewardPolicy;
	}

	public void setQuotaRewardPolicy(Integer quotaRewardPolicy) {
		this.quotaRewardPolicy = quotaRewardPolicy;
	}

	public Long getRewardQuotaId() {
		return rewardQuotaId;
	}

	public void setRewardQuotaId(Long rewardQuotaId) {
		this.rewardQuotaId = rewardQuotaId;
	}

	public Long getPayQuotaId() {
		return payQuotaId;
	}

	public void setPayQuotaId(Long payQuotaId) {
		this.payQuotaId = payQuotaId;
	}

    public Long getRetailLimit() {
        return retailLimit;
    }

    public void setRetailLimit(Long retailLimit) {
        this.retailLimit = retailLimit;
    }

    public Long getWholesaleLimit() {
        return wholesaleLimit;
    }

    public void setWholesaleLimit(Long wholesaleLimit) {
        this.wholesaleLimit = wholesaleLimit;
    }
}